﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Traceability.Domain
{
    /// <summary>
    /// 屠宰信息表
    /// </summary>
    public class Slaughters
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int SlaughterId { get; set; }

        /// <summary>
        /// 生产批次--唯一
        /// </summary>
        public int BatchId { get; set; }


        /// <summary>
        /// 批次
        /// </summary>
        public int Producbatche { get; set; }

        /// <summary>
        /// 到厂均重
        /// </summary>
        public int FactoryWeight { get; set; }

        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? factoryTime { get; set; }
        /// <summary>
        ///  屠宰时间
        /// </summary>
        public DateTime? SlaughterTime { get; set; }



        /// <summary>
        /// 逻辑删除 false 未删  true 删除
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}
